package com.sservice.urp.entity;

import java.io.Serializable;
import java.sql.Timestamp;

public class Role implements Serializable {
    private static final long serialVersionUID = -8808750991961007023L;
    private Integer id;
    /**
     * 角色职权[系统内部预置]
     */
    private String permission;
    private String comId;
    /**
     * 1正常 0删除
     */
    private String status;
    /**
     * 角色名称
     */
    private String roleName;
    /*
        *创建时间
         */
    private Timestamp createAt;
    private String description;
    /**
     * 更新时间
     */
    private Timestamp updateAt;

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Timestamp getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Timestamp createAt) {
        this.createAt = createAt;
    }

    public Timestamp getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(Timestamp updateAt) {
        this.updateAt = updateAt;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public void setName(String roleName) {
        this.roleName = roleName == null ? null : roleName.trim();
    }

    public String getPermission() {
        return permission;
    }

    public void setPermission(String permission) {
        this.permission = permission == null ? null : permission.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getComId() {
        return comId;
    }

    public void setComId(String comId) {
        this.comId = comId;
    }
}